package com.ezcms.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@org.hibernate.annotations.Entity(dynamicInsert = true, dynamicUpdate = false)
@Table(name = "article_category")
public class ArticleCategory implements Serializable {

	private static final long serialVersionUID = 1L;

	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	private Integer articleCategoryId;

	@Column(length = 100)
	private String articleCategoryName;

	@Column
	private Integer upArticleCategoryId;

	@Column
	private Integer articleCategoryLevel;

	public Integer getArticleCategoryId() {
		return articleCategoryId;
	}

	public void setArticleCategoryId(Integer articleCategoryId) {
		this.articleCategoryId = articleCategoryId;
	}

	public String getArticleCategoryName() {
		return articleCategoryName;
	}

	public void setArticleCategoryName(String articleCategoryName) {
		this.articleCategoryName = articleCategoryName;
	}

	public Integer getUpArticleCategoryId() {
		return upArticleCategoryId;
	}

	public void setUpArticleCategoryId(Integer upArticleCategoryId) {
		this.upArticleCategoryId = upArticleCategoryId;
	}

	public Integer getArticleCategoryLevel() {
		return articleCategoryLevel;
	}

	public void setArticleCategoryLevel(Integer articleCategoryLevel) {
		this.articleCategoryLevel = articleCategoryLevel;
	}

}
